/* Base Application Styles */
@import "common";

$baseColor: #08ba6d;
$subColor: #7a7a7a;
$hoverColor: #079d5c;

$baseborder: 1px solid #ccc;

$shadow: 0px 1px 2px #d1d1d1;

/* index page */
.banner{
  margin-bottom: 10px;
  .swiper-container{
    margin: 0 auto;
    color: #333333;
    height: 145px;
    background: #419be0;
    .slick-dots{
      bottom: 0!important;
    }
    .slick-dots li{
      margin: 0!important;
    }
    .slick-dots li button:before{
      width: 4px;
      height: 4px;
    }
    img{
      width:100%;
      height:145px;
      display: block;
    }
  }
  .top-nav{
    background: #fff;
    box-shadow: 0px 1px 2px #ccc;
    div{
      width: 33.33%;
      display: inline-block;
      float: left;
      text-align: center;
      a{
        height:80px;
        width: 100%;
        display: inline-block;
        font-size: 12px;
        padding-top: 4px;
        color: $baseColor;
        i{
          display: block;
          font-size: 46px;
        }
      }
    }
  }
}
.menu{
  background: #fff;
  border-top: $baseborder;
  box-shadow: $shadow;
  margin-bottom: 58px;
  div{
    display: inline-block;
    float: left;
    text-align: center;
    border-right: $baseborder;
    border-bottom: $baseborder;
    a{
      height:90px;
      width: 100%;
      display: inline-block;
      font-size: 12px;
      padding-top: 10px;
      img{
        width: 52px;
        display: block;
        margin: 0 auto 6px;
      }
    }
  }
  div:nth-child(3n){
    border-right: 0;
  }
}
.fixed-bottom{
  position: fixed;
  background: #fff;
  width:100%;
  bottom: 0;
  z-index: 99;
  border-top: $baseborder;
  div{
    display: inline-block;
    float: left;
    text-align: center;
  }
  a{
    width: 100%;
    display: inline-block;
    font-size: 12px;
    color: $subColor;
    i{
      display: block;
      font-size: 30px;
      height: 28px;
      line-height: 32px;
    }
    &.cur{
      color: $baseColor;
    }
  }
}


/* edu page */
.sub-banner{
  min-height: 98px;
  background: $baseColor url("../img/banner_bg.svg") repeat center;
  background-size: 35%;
  padding-top: 20px;
  position: relative;
  a{
    position: absolute;
    left: 12px;
    img{
      width: 20px;
    }
  }
  img{
    width: 25%;
    display: block;
    margin: 0 auto;
  }
}

.srh{
  position: relative;
  background: #f2f2f2;
  input{
    width:100%;
    line-height: 35px;
    padding-left: 12px;
    padding-right: 48px;
    border: $baseborder;
  }
  a{
    width: 44px;
    height: 35px;
    background: #fff;
    position: absolute;
    right: 11px;
    color: $baseColor;
    top: 11px;
    text-align: center;
    line-height: 35px;
  }
}

.list{
  background: #fff;
  position: relative;
  .hot-icon{
    position: absolute;
    .section2{
      background: #fff;
      margin-bottom: 10px;
      h1{
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 20px;
      }
      p{
        font-size: 13px;
      }
    }
  }
  li{
    a{
      padding: 0 10px 0 14px;
      display: block;
      height: 50px;
      line-height: 50px;
      border-bottom: $baseborder;
      background: url(../img/arrow_right_gray.png) no-repeat center right 10px;
      background-size: 10px;
      text-overflow: ellipsis;
      overflow:hidden;
      font-size: 12px;
    }
  }
  li:last-child a{
    border-bottom: none;
  }
}

/* load more */
.loadmore{
  text-align: center;
  background: #efefef;
  line-height: 30px;
}


/* edu details page */
header{
  background: $baseColor;
  height: 45px;
  line-height: 45px;
  color: #fff;
  width: 100%;
  margin: 0 auto;
  position: relative;
  .back{
    position: absolute;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    padding-top: 6px;
    img{
      display: inline-block;
      width: 20px;
    }
  }
  h4{
    text-align: center;
    font-size: 16px;
  }
}

.section{
  background: #fff;
  margin-bottom: 10px;
  h1{
    font-size: 15px;
    font-weight: bold;
    padding-top: 4px;
  }
  p{
    font-size: 13px;
    text-indent: 25px;
  }
}
.toper-tit{
  background: #fff;
  margin-bottom: 10px;
  h1{
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
    margin-top: 6px;
    text-align: center;
  }
  .mob-author{
    height: 24px;
    line-height: 24px;
    margin-bottom: 0;
    span{
      color: #808080;
    }
    .fr{
      margin-left: 20px;
    }
    .watch i{
      color: #5799dd;
    }
    .nice i{
      color: #eb8f33;
    }
    .share i{
      color: #3bb2c4;
    }

    .is-active i{
      color: #808080!important;
    }

  }
}





/* common */
.container{
  padding: 10px;
}
body{
  font-size: 12px;
  color: #232323;
  background: #f2f2f2;
}
select{
  outline: medium none;
}
.fl{
  float: left;
}
.fr{
  float:right;
}
.clearfix:after{
  clear: both;
  content: ".";
  display: block;
  font-size: 0;
  height: 0;
  line-height: 0;
  visibility: hidden;
}
.p10{
  padding: 0 10px;
}

.col-nav{
  display: inline-block;
  float: left;
  text-align: center;
  a{
    width: 100%;
    display: inline-block;
    font-size: 12px;
    padding: 5px 10px 0px;
    i{
      display: block;
    }
  }
}
